/* eslint-disable no-unused-vars */
const userInfo = {
    name: "user",
    Id: 1,
    authentication: 1,
    token: "user"
}

export const login = req => {
  req = JSON.parse(req.body);
  return { code: 200, userInfo };
};

export const getUserInfo = req => {
  return { code: 200, userInfo };
}

export const logout = req => {
  return req ? null : "";
};

export const editPassword = req => {
  return { code: 200, message: "ok" };
};
